package com.kehutong.wxapi.request;

import org.coraframework.json.annotation.JSONField;

import java.util.List;

/**
 * 增加标签成员请求对象
 * @author: liukunlong
 * @date: 2021-03-08 17:40
 */
public class AddTagUsersRequest {
    /**
     * 调用接口凭证
     */
    private String accessToken;
    /**
     * 标签ID
     */ /**
     * tagid : 12
     * userlist : ["user1","user2"]
     * partylist : [4]
     */

    @JSONField(name = "tagid")
    private Integer tagid;
    /**
     * 企业成员ID列表，注意：userlist、partylist不能同时为空，单次请求个数不超过1000
     */
    @JSONField(name = "userlist")
    private List<String> userlist;
    /**
     * 企业部门ID列表，注意：userlist、partylist不能同时为空，单次请求个数不超过100
     */
    @JSONField(name = "partylist")
    private List<Integer> partylist;


    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getTagid() {
        return tagid;
    }

    public void setTagid(Integer tagid) {
        this.tagid = tagid;
    }

    public List<String> getUserlist() {
        return userlist;
    }

    public void setUserlist(List<String> userlist) {
        this.userlist = userlist;
    }

    public List<Integer> getPartylist() {
        return partylist;
    }

    public void setPartylist(List<Integer> partylist) {
        this.partylist = partylist;
    }
}
